#!/bin/bash
#sudo mvn clean package -DskipTests -f ./
sudo cp ./deploy/* /mnt/f/website820/myhub
docker build ./ -t myhub:1.0
echo rm old image
rm -rf /mnt/f/website820/myhub/myhub.img
echo create new image
docker save -o /mnt/f/website820/myhub/myhub.img  myhub:1.0
